package com.xuerhua.yxt.view;

/**
 * 库存
 * */
public class SchoolPropertyStockExportView {
	
	private Integer id;
	
	private String typeName;
	
	private String goodsAttr;
	
	private String goodsName;
	
	private Integer currentStock;
	
	private Integer totalStock;
	
	private Integer cycleUse;
	
	private String cycleUseText;
	
	private String createTime;
	
	private String updateTime;

	private Integer schoolId;

	private String nos;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getGoodsAttr() {
		return goodsAttr;
	}

	public void setGoodsAttr(String goodsAttr) {
		this.goodsAttr = goodsAttr;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Integer getCurrentStock() {
		return currentStock;
	}

	public void setCurrentStock(Integer currentStock) {
		this.currentStock = currentStock;
	}

	public Integer getTotalStock() {
		return totalStock;
	}

	public void setTotalStock(Integer totalStock) {
		this.totalStock = totalStock;
	}

	public Integer getCycleUse() {
		return cycleUse;
	}

	public void setCycleUse(Integer cycleUse) {
		this.cycleUse = cycleUse;
	}

	public String getCycleUseText() {
		if(getCycleUse() == 0)
			cycleUseText = "消耗品";
		else
			cycleUseText = "非消耗品";
		
		return cycleUseText;
	}

	public void setCycleUseText(String cycleUseText) {
		this.cycleUseText = cycleUseText;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getNos() {
		return nos;
	}

	public void setNos(String nos) {
		this.nos = nos;
	}

	public Integer getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}

}
